package com.sjy.project.fym.apply.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sjy.framework.aspectj.lang.annotation.Excel;
import com.sjy.framework.web.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 物资清单对象 fy_goods
 * 
 * @author ljb
 * @date 2022-04-20
 */
@ApiModel(value="FyGoods对象", description="物资清单")
public class FyGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "主键")
    private Long goodsId;

    /** 申请记录ID */
    @Excel(name = "申请记录ID")
    @ApiModelProperty(value = "申请记录ID")
    private Long applyId;

    /** 申报物资类型 */
    @Excel(name = "申报物资类型")
    @ApiModelProperty(value = "申报物资类型")
    private String goodsType;

    /** 申报物资数量 */
    @Excel(name = "申报物资数量")
    @ApiModelProperty(value = "申报物资数量")
    private Integer goodsNum;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty(value = "删除标识")
    private String delFlag;

    /** 是否判断 1是0否 */
    @ApiModelProperty(value = "是否判断 1是0否")
    private Integer goodsFlag;
    
    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId()
    {
        return goodsId;
    }
    public void setApplyId(Long applyId)
    {
        this.applyId = applyId;
    }

    public Long getApplyId()
    {
        return applyId;
    }
    public void setGoodsType(String goodsType)
    {
        this.goodsType = goodsType;
    }

    public String getGoodsType()
    {
        return goodsType;
    }
    public void setGoodsNum(Integer goodsNum)
    {
        this.goodsNum = goodsNum;
    }

    public Integer getGoodsNum()
    {
        return goodsNum;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public Integer getGoodsFlag() {
		return goodsFlag;
	}

	public void setGoodsFlag(Integer goodsFlag) {
		this.goodsFlag = goodsFlag;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("applyId", getApplyId())
            .append("goodsType", getGoodsType())
            .append("goodsNum", getGoodsNum())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
